package com.leadingsoft.pwxk.converter;

import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.AuditSelfMonitorDto;
import com.leadingsoft.pwxk.model.AuditSelfMonitor;

@Component
public class AuditSelfMonitorConverter extends AbstractConverter<AuditSelfMonitor, AuditSelfMonitorDto> {

	@Override
	protected AuditSelfMonitorDto toDtoActual(AuditSelfMonitor model) {
		AuditSelfMonitorDto dto = new AuditSelfMonitorDto();
		BeanUtils.copyProperties(model, dto);
		return dto;
	}

	@Override
	public void copyProperties(AuditSelfMonitor model, AuditSelfMonitorDto dto) {

	}

}
